package ch14_反射与注解.注解;

import java.util.Date;

/**
 * @author 挚爱之夕
 * @date 2021/8/29 - 08 - 29 - 17:18
 * @Description: ch14_反射与注解.注解
 * @Version: 1.0
 */
public class DeprecatedAnnotationDemo {
    public static void main(String[] args) {
        //构造方法Date(int year,int month,int day)已被标记为过时
        Date d = new Date(2019 - 1900,3,12);
        System.out.println(d.toString());
    }
}
